package com.xzx.mybatis.po;

import lombok.Data;

import java.util.StringJoiner;

/**
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/6/21 12:43
 */
@Data
public class EmployeePO {
    private Long id;
    private String lastName;
    private String email;
    private Integer gender;
    private DeptPO dept;

    @Override
    public String toString() {
        return new StringJoiner(", ", EmployeePO.class.getSimpleName() + "[", "]")
                .add("id=" + id)
                .add("lastName='" + lastName + "'")
                .add("email='" + email + "'")
                .add("gender=" + gender)
                .toString();
    }
}
